package com.example.blueconn;

import java.util.UUID;

public interface Constant {

    String WIFI_HOST_DEFAULT_VALUE = "10.10.100.254";

    int WIFI_PORT_DEFAULT_VALUE = 8899;
    //数据刷新延迟
    int DATA_REFRESH_TIME = 800;

    String WIFI_HOST_KEY = "wifi_host_key";

    String WIFI_PORT_KEY = "wifi_port_key";

    String APP_BAR_TITLE = "app_bar_title";

    String DEVICE_NUM = "device_num";

    //几个fragment
    //报表详情页
    int SHOW_CHART_DETAIL = 1;
    //wifi ip port设置
    int SET_WIFI_IP_PORT = 2;
    //系统校准
    int SYS_CORRECT = 3;
    //本地网络管理
    int LOCAL_NET_MGR = 4;
    //设置主机wifi名称和密码
    int SET_WIFI_NAME_PWD = 5;

    //蓝牙扫描选择界面
    int BL_SELECT_PAGER = 6;
    //发送参数信息界面
    int BL_SEND_PARAM = 7;
    // 查看参数系数页面
    int BL_VIEW_PARAM = 8;

    String FRAGMENT_TAG = "fragment_tag";


    //数据key
    //总和
    String TEMP_DATA_TOTAL = "temp_data_total";
    String LIGHT_DATA_TOTAL = "light_data_total";
    //数据量
    String DATA_COUNT = "data_count";
    //平均值
    String AVERAGE_TEMP_DATA = "average_temp_data";
    String AVERAGE_Light_DATA = "average_light_data";
    //最大值
    String MAX_TEMP_DATA = "max_temp_data";
    String MAX_LIGHT_DATA = "max_light_data";
    //最小值
    String MINI_TEMP_DATA = "min_temp_data";
    String MINI_LIGHT_DATA = "min_light_data";


    //保存校准页面选择的设备
    String SELECT_DEVICE = "select_device";


    String BL_MAC_NAME = "bl_mac_name";
    String BL_MAC_ADDRESS = "bl_mac_address";

    UUID CHARACTER_UUID = UUID.fromString("0000ffe1-0000-1000-8000-00805f9b34fb");
//    UUID CHARACTER_UUID = UUID.fromString("8ce255c0-200a-11e0-ac64-0800200c9a66");
    UUID SERVICE_UUID = UUID.fromString("0000ffe0-0000-1000-8000-00805f9b34fb");

    String UUID_SERVICE = "0000ffe0-0000-1000-8000-00805f9b34fb";
    String UUID_CHARACTER = "0000ffe1-0000-1000-8000-00805f9b34fb";


    String LIGHT_PARAMS_KEY = "light_params_key";
    String TEMP_PARAMS_KEY = "temp_params_key";
}
